package com.psg.service;

import com.github.pagehelper.PageInfo;
import com.psg.pojo.Look;
import com.psg.pojo.Produce;

import java.util.List;

public interface ProduceService {
    public Produce selectProduce(Integer pId);
    void recordProduce(Look look);
    PageInfo<Look> recordPage(Integer pageNum, Integer pageSize);
    List<Produce> findAll();

    List<Produce> findByCategory(Integer category);

    List<Produce> classify(String classify);

    List<Produce> searchProduces(String searchText);
}
